package db;

/**
 * Class Border, shows all the neighbors of a country.
 * 
 * @author markus
 * 
 */
public class Border {

	private String neighbor;
	private Double length;

	/**
	 * New Border needs neighbor name + length of the border.
	 * 
	 * @param neighbor
	 * @param length
	 */
	public Border(String neighbor, Double length) {
		this.neighbor = neighbor;
		this.length = length;
	}

	/**
	 * @param length
	 *            the length to set
	 */
	public void setLength(Double length) {
		this.length = length;
	}

	/**
	 * @return the length
	 */
	public Double getLength() {
		return length;
	}

	/**
	 * @param neighbor
	 *            the neighbor to set
	 */
	public void setNeighbor(String neighbor) {
		this.neighbor = neighbor;
	}

	/**
	 * @return the neighbor
	 */
	public String getNeighbor() {
		return neighbor;
	}
}
